<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenMesh: OpenMesh::Decimater::CollapseInfoT&lt; Mesh &gt; Struct Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="logo_align.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="rwth_vci_rgb.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenMesh
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a02633.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="a02630.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OpenMesh::Decimater::CollapseInfoT&lt; Mesh &gt; Struct Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Stores information about a halfedge collapse.  
 <a href="a02633.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00548_source.html">OpenMesh/Tools/Decimater/CollapseInfoT.hh</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for OpenMesh::Decimater::CollapseInfoT&lt; Mesh &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="a02631.png" border="0" usemap="#OpenMesh_1_1Decimater_1_1CollapseInfoT_3_01Mesh_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="OpenMesh_1_1Decimater_1_1CollapseInfoT_3_01Mesh_01_4_coll__map" id="OpenMesh_1_1Decimater_1_1CollapseInfoT_3_01Mesh_01_4_coll__map">
<area shape="rect" id="node2" href="a02385.html" title="Polygonal mesh based on the ArrayKernel. " alt="" coords="7,187,170,228"/>
<area shape="rect" id="node3" href="a02389.html" title="Base type for a polygonal mesh. " alt="" coords="11,81,166,137"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3119dd3ab3c513c0f853448c86ec8cf5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a3119dd3ab3c513c0f853448c86ec8cf5">CollapseInfoT</a> (Mesh &amp;_mesh, typename Mesh::HalfedgeHandle _heh)</td></tr>
<tr class="memdesc:a3119dd3ab3c513c0f853448c86ec8cf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializing constructor.  <a href="#a3119dd3ab3c513c0f853448c86ec8cf5">More...</a><br /></td></tr>
<tr class="separator:a3119dd3ab3c513c0f853448c86ec8cf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:acd82af5cffe211ec9723f459eb7d6252"><td class="memItemLeft" align="right" valign="top"><a id="acd82af5cffe211ec9723f459eb7d6252"></a>
Mesh &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>mesh</b></td></tr>
<tr class="separator:acd82af5cffe211ec9723f459eb7d6252"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5167e49665056a7a8b6bcc6b6915c09e"><td class="memItemLeft" align="right" valign="top"><a id="a5167e49665056a7a8b6bcc6b6915c09e"></a>
Mesh::HalfedgeHandle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a5167e49665056a7a8b6bcc6b6915c09e">v0v1</a></td></tr>
<tr class="memdesc:a5167e49665056a7a8b6bcc6b6915c09e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Halfedge to be collapsed. <br /></td></tr>
<tr class="separator:a5167e49665056a7a8b6bcc6b6915c09e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53dc5ea9882b3097b8281142c0bdb225"><td class="memItemLeft" align="right" valign="top"><a id="a53dc5ea9882b3097b8281142c0bdb225"></a>
Mesh::HalfedgeHandle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a53dc5ea9882b3097b8281142c0bdb225">v1v0</a></td></tr>
<tr class="memdesc:a53dc5ea9882b3097b8281142c0bdb225"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reverse halfedge. <br /></td></tr>
<tr class="separator:a53dc5ea9882b3097b8281142c0bdb225"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abacd9a21d5a78d80dc1faf617caf39e9"><td class="memItemLeft" align="right" valign="top"><a id="abacd9a21d5a78d80dc1faf617caf39e9"></a>
<a class="el" href="a02389.html#a0fc18e13d70825938274e3faf7b55e01">Mesh::VertexHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#abacd9a21d5a78d80dc1faf617caf39e9">v0</a></td></tr>
<tr class="memdesc:abacd9a21d5a78d80dc1faf617caf39e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vertex to be removed. <br /></td></tr>
<tr class="separator:abacd9a21d5a78d80dc1faf617caf39e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e472c32525398eeb34cad7c52aa3651"><td class="memItemLeft" align="right" valign="top"><a id="a7e472c32525398eeb34cad7c52aa3651"></a>
<a class="el" href="a02389.html#a0fc18e13d70825938274e3faf7b55e01">Mesh::VertexHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a7e472c32525398eeb34cad7c52aa3651">v1</a></td></tr>
<tr class="memdesc:a7e472c32525398eeb34cad7c52aa3651"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remaining vertex. <br /></td></tr>
<tr class="separator:a7e472c32525398eeb34cad7c52aa3651"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d6e1b8c56453e3de48ed178d067c876"><td class="memItemLeft" align="right" valign="top"><a id="a4d6e1b8c56453e3de48ed178d067c876"></a>
<a class="el" href="a02389.html#aed10fb4dfb536b53a5e20c8f2442eadf">Mesh::Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a4d6e1b8c56453e3de48ed178d067c876">p0</a></td></tr>
<tr class="memdesc:a4d6e1b8c56453e3de48ed178d067c876"><td class="mdescLeft">&#160;</td><td class="mdescRight">Position of removed vertex. <br /></td></tr>
<tr class="separator:a4d6e1b8c56453e3de48ed178d067c876"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91226116d563790a8d04b09a9ef2d965"><td class="memItemLeft" align="right" valign="top"><a id="a91226116d563790a8d04b09a9ef2d965"></a>
<a class="el" href="a02389.html#aed10fb4dfb536b53a5e20c8f2442eadf">Mesh::Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a91226116d563790a8d04b09a9ef2d965">p1</a></td></tr>
<tr class="memdesc:a91226116d563790a8d04b09a9ef2d965"><td class="mdescLeft">&#160;</td><td class="mdescRight">Positions of remaining vertex. <br /></td></tr>
<tr class="separator:a91226116d563790a8d04b09a9ef2d965"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe823726812c34c63eccc8316f5b1de5"><td class="memItemLeft" align="right" valign="top"><a id="abe823726812c34c63eccc8316f5b1de5"></a>
Mesh::FaceHandle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#abe823726812c34c63eccc8316f5b1de5">fl</a></td></tr>
<tr class="memdesc:abe823726812c34c63eccc8316f5b1de5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Left face. <br /></td></tr>
<tr class="separator:abe823726812c34c63eccc8316f5b1de5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2962fea162ba214fe7394d60ddb322d7"><td class="memItemLeft" align="right" valign="top"><a id="a2962fea162ba214fe7394d60ddb322d7"></a>
Mesh::FaceHandle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a2962fea162ba214fe7394d60ddb322d7">fr</a></td></tr>
<tr class="memdesc:a2962fea162ba214fe7394d60ddb322d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Right face. <br /></td></tr>
<tr class="separator:a2962fea162ba214fe7394d60ddb322d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d6ceec9090fb5a282e3a2f842962597"><td class="memItemLeft" align="right" valign="top"><a id="a4d6ceec9090fb5a282e3a2f842962597"></a>
<a class="el" href="a02389.html#a0fc18e13d70825938274e3faf7b55e01">Mesh::VertexHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a4d6ceec9090fb5a282e3a2f842962597">vl</a></td></tr>
<tr class="memdesc:a4d6ceec9090fb5a282e3a2f842962597"><td class="mdescLeft">&#160;</td><td class="mdescRight">Left vertex. <br /></td></tr>
<tr class="separator:a4d6ceec9090fb5a282e3a2f842962597"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad65dfec5ec35931c6aaac3587b0fd55e"><td class="memItemLeft" align="right" valign="top"><a id="ad65dfec5ec35931c6aaac3587b0fd55e"></a>
<a class="el" href="a02389.html#a0fc18e13d70825938274e3faf7b55e01">Mesh::VertexHandle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#ad65dfec5ec35931c6aaac3587b0fd55e">vr</a></td></tr>
<tr class="memdesc:ad65dfec5ec35931c6aaac3587b0fd55e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Right vertex. <br /></td></tr>
<tr class="separator:ad65dfec5ec35931c6aaac3587b0fd55e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a0d3ab34ba78e36e61066d0b26bdb3e4e"><td class="memItemLeft" align="right" valign="top"><a id="a0d3ab34ba78e36e61066d0b26bdb3e4e"></a>
Mesh::HalfedgeHandle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a0d3ab34ba78e36e61066d0b26bdb3e4e">vlv1</a></td></tr>
<tr class="memdesc:a0d3ab34ba78e36e61066d0b26bdb3e4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Outer remaining halfedge of diamond spanned by <code>v0</code>, <code>v1</code>, <code>vl</code>, and <code>vr</code>. <br /></td></tr>
<tr class="separator:a0d3ab34ba78e36e61066d0b26bdb3e4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4df2f92321dbd926da6c830a22346d6c"><td class="memItemLeft" align="right" valign="top"><a id="a4df2f92321dbd926da6c830a22346d6c"></a>
Mesh::HalfedgeHandle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a4df2f92321dbd926da6c830a22346d6c">v0vl</a></td></tr>
<tr class="memdesc:a4df2f92321dbd926da6c830a22346d6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Outer remaining halfedge of diamond spanned by <code>v0</code>, <code>v1</code>, <code>vl</code>, and <code>vr</code>. <br /></td></tr>
<tr class="separator:a4df2f92321dbd926da6c830a22346d6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14f222f628f5256dd26dbe495a6452d2"><td class="memItemLeft" align="right" valign="top"><a id="a14f222f628f5256dd26dbe495a6452d2"></a>
Mesh::HalfedgeHandle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a14f222f628f5256dd26dbe495a6452d2">vrv0</a></td></tr>
<tr class="memdesc:a14f222f628f5256dd26dbe495a6452d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Outer remaining halfedge of diamond spanned by <code>v0</code>, <code>v1</code>, <code>vl</code>, and <code>vr</code>. <br /></td></tr>
<tr class="separator:a14f222f628f5256dd26dbe495a6452d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67375650879904935d62e544285aa0f9"><td class="memItemLeft" align="right" valign="top"><a id="a67375650879904935d62e544285aa0f9"></a>
Mesh::HalfedgeHandle&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02633.html#a67375650879904935d62e544285aa0f9">v1vr</a></td></tr>
<tr class="memdesc:a67375650879904935d62e544285aa0f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Outer remaining halfedge of diamond spanned by <code>v0</code>, <code>v1</code>, <code>vl</code>, and <code>vr</code>. <br /></td></tr>
<tr class="separator:a67375650879904935d62e544285aa0f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class Mesh&gt;<br />
struct OpenMesh::Decimater::CollapseInfoT&lt; Mesh &gt;</h3>

<p>Stores information about a halfedge collapse. </p>
<p>The class stores information about a halfedge collapse. The most important information is <code>v0v1</code>, <code>v1v0</code>, <code>v0</code>, <code>v1</code>, <code>vl</code>, <code>vr</code>, which you can lookup in the following image: </p><div class="image">
<img src="collapse_info.png" alt="collapse_info.png"/>
</div>
 <dl class="section see"><dt>See also</dt><dd><a class="el" href="a02689.html" title="Struct storing progressive mesh information. ">ModProgMeshT::Info</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3119dd3ab3c513c0f853448c86ec8cf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3119dd3ab3c513c0f853448c86ec8cf5">&#9670;&nbsp;</a></span>CollapseInfoT()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Mesh &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a02633.html">OpenMesh::Decimater::CollapseInfoT</a>&lt; Mesh &gt;::<a class="el" href="a02633.html">CollapseInfoT</a> </td>
          <td>(</td>
          <td class="paramtype">Mesh &amp;&#160;</td>
          <td class="paramname"><em>_mesh</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename Mesh::HalfedgeHandle&#160;</td>
          <td class="paramname"><em>_heh</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initializing constructor. </p>
<p>Local configuration of halfedge collapse to be stored in <a class="el" href="a02633.html" title="Stores information about a halfedge collapse. ">CollapseInfoT</a>:</p>
<p>Given a mesh and a halfedge handle of the halfedge to be collapsed all important information of a halfedge collapse will be stored. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">_mesh</td><td>Mesh source </td></tr>
    <tr><td class="paramname">_heh</td><td>Halfedge to collapse. The direction of the halfedge defines the direction of the collapse, i.e. the from-vertex will be removed and the to-vertex remains.</td></tr>
  </table>
  </dd>
</dl>
<p>vl</p><ul>
<li>/ \ / \ / fl \ v0 <em>---&mdash;&gt;</em> v1 \ fr / \ / \ /</li>
<li>vr</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">_mesh</td><td>Reference to mesh </td></tr>
    <tr><td class="paramname">_heh</td><td>The halfedge (v0 -&gt; v1) defining the collapse </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>OpenMesh/Tools/Decimater/<a class="el" href="a00548_source.html">CollapseInfoT.hh</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<hr>
<address>
<small>
<a href="http://www.rwth-graphics.de" style="text-decoration:none;">
</a>
Project <b>OpenMesh</b>, 
&copy;&nbsp; Computer Graphics Group, RWTH Aachen.
Documentation generated using 
<a class="el" href="http://www.doxygen.org/index.html">
<b>doxygen</b>
</a>.
</small>
</address>
</body>
</html>
